Skip to content

chore: bump react-native-skia to 2.15.5 - #697

Merged
zibs merged 3 commits into
FormidableLabs:mainfrom
wcandillon:chore/skia-2.15.3
Nov 16, 2026
Merged

zibs merged 3 commits into
FormidableLabs:mainfrom
wcandillon:chore/skia-2.15.3

Conversation

@wcandillon

@wcandillon wcandillon commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

The motivation for this PR is that we made substancials improvements to RN Web support in RN Skia v2 and the library can take advantage of them.

Summary

  • Bump react-native-skia to 2.15.5, the latest 2.x release, in the example app and lib dev dependencies
  • Raise the peer dependency range to >=2.15.5 <3.0.0
  • Update README and docs install commands and requirements to 2.15.5
  • Add a patch changeset

Skia 3 remains out of scope for this PR. No source changes were required.

What 2.15.3 to 2.15.5 bring

2.15.3: web renderer rewrite

  • Every <Canvas> on a page draws on one shared WebGL context and presents through a 2D context, so a page with many charts no longer runs into the browser's limit on live WebGL contexts.
  • A canvas survives its layout effect being re-run (StrictMode, <Activity> hide and reveal).

2.15.4

  • LoadSkiaWeb no longer caches a failed CanvasKit init, and can verify that canvaskit.wasm matches the bundled canvaskit.js (verifyWasm, on in development).
  • Android: a canvas inside a Modal no longer goes blank after the app is backgrounded and resumed.

2.15.5

  • Web: a canvas that is still on screen keeps its frame when its renderer is disposed (a screen hidden in an <Activity> that the app keeps displayed).
  • Web: a draw no longer throws an uncatchable error when the context cannot make a surface.

2.15.5 is the floor because these are the fixes Expensify was carrying as patches on 2.11.2; with it, an app on Victory Native needs none of them.

Test plan

  • yarn typecheck passes
  • yarn lint passes
  • yarn test: 252 unit tests and 5 golden-image headless tests pass with no golden updates needed

Pins the example app and lib dev dependency to the latest 2.x release and
raises the peer range to >=2.15.3 <3.0.0. 2.15.3 brings React Native Web
improvements. No source changes were required.

Co-Authored-By: Claude <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c3688d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
victory-native Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

@wcandillon is attempting to deploy a commit to the Nearform Team on Vercel.

A member of the Team first needs to authorize it.

2.15.4 and 2.15.5 add fixes on top of the 2.15.3 web improvements:
LoadSkiaWeb retries after a failed init and can verify the CanvasKit
binary, an Android canvas in a Modal no longer goes blank after the app
is resumed, a web canvas that is still on screen keeps its frame when its
renderer is disposed, and a web draw no longer throws when the context
cannot make a surface.

Pins the example app and lib dev dependency to 2.15.5 and raises the peer
range to >=2.15.5 <3.0.0. No source changes were required.

Co-Authored-By: Claude <noreply@anthropic.com>
@wcandillon wcandillon changed the title chore: bump react-native-skia to 2.15.3 chore: bump react-native-skia to 2.15.5 Nov 10, 2026
@zibs

zibs commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

The GOAT himself, will merge this week. Thank you 🙏🏻

Raising the react-native-skia peer floor narrows the supported range, so
apps pinned to 2.15.1-2.15.4 must upgrade. Ship it as a minor and say so
in the changeset.
@zibs
zibs self-requested a review November 16, 2026 17:13
@zibs
zibs merged commit fa82957 into FormidableLabs:main Nov 16, 2026
1 of 2 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants